from lib.ZButton import ZButton
from lib.res.fun import _create_sound
from lib.res.glo import SRC


class EveBtn ( ZButton ) :
	def __init__ ( self , father , surface_in , surface_out , type , effect ) :
		super ( EveBtn , self ).__init__ ( father , surface_in , surface_out )
		self.type = type
		self.effect = effect
		self.clicksound = _create_sound ( SRC [ 'sound' ] [ 'item' ] )